package cn.livingCloud.repository;

import cn.livingCloud.dto.CaseCategoryListDto;
import cn.livingCloud.entity.core.CaseCategory;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CaseCategoryMapper {
    int deleteByPrimaryKey(String uuid);

    int insert(CaseCategory record);

    int insertSelective(CaseCategory record);

    CaseCategory selectByPrimaryKey(String uuid);

    int updateByPrimaryKeySelective(CaseCategory record);

    int updateByPrimaryKeyWithBLOBs(CaseCategory record);

    int updateByPrimaryKey(CaseCategory record);

    List<CaseCategory> getList(CaseCategoryListDto listDto);

    List<CaseCategory> getAll();

    List<CaseCategory> findSubCategory(String uuid);
}